From: Emmanuele Bassi Date: Tue, 16 Nov 2021 13:50:52 +0000 (+0000) Subject: docs: Add blurb for GtkEditableProperties. X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~91^2^2~144^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c4b2fe6ee5753280298fe3987a2da13f44d9dc61;p=gtk4.git docs: Add blurb for GtkEditableProperties. --- diff --git a/gtk/gtkeditable.h b/gtk/gtkeditable.h index c945bcb499..7646ba1584 100644 --- a/gtk/gtkeditable.h +++ b/gtk/gtkeditable.h @@ -146,6 +146,23 @@ void gtk_editable_set_enable_undo (GtkEditable *editable, /* api for implementations */ +/** + * GtkEditableProperties: + * @GTK_EDITABLE_PROP_TEXT: the property id for [property@Gtk.Editable:text] + * @GTK_EDITABLE_PROP_CURSOR_POSITION: the property id for [property@Gtk.Editable:cursor-position] + * @GTK_EDITABLE_PROP_SELECTION_BOUND: the property id for [property@Gtk.Editable:selection-bound] + * @GTK_EDITABLE_PROP_EDITABLE: the property id for [property@Gtk.Editable:editable] + * @GTK_EDITABLE_PROP_WIDTH_CHARS: the property id for [property@Gtk.Editable:width-chars] + * @GTK_EDITABLE_PROP_MAX_WIDTH_CHARS: the property id for [property@Gtk.Editable:max-width-chars] + * @GTK_EDITABLE_PROP_XALIGN: the property id for [property@Gtk.Editable:xalign] + * @GTK_EDITABLE_PROP_ENABLE_UNDO: the property id for [property@Gtk.Editable:enable-undo] + * @GTK_EDITABLE_NUM_PROPERTIES: the number of properties + * + * The identifiers for [iface@Gtk.Editable] properties. + * + * See [func@Gtk.Editable.install_properties] for details on how to + * implement the `GtkEditable` interface. + */ typedef enum { GTK_EDITABLE_PROP_TEXT, GTK_EDITABLE_PROP_CURSOR_POSITION,